package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SafetyExaminationStudentWrongRecord;

/**
 * 学生错题记录Mapper接口
 * 
 * @author ruoyi
 * @date 2021-04-07
 */
public interface SafetyExaminationStudentWrongRecordMapper 
{
    /**
     * 查询学生错题记录
     * 
     * @param id 学生错题记录ID
     * @return 学生错题记录
     */
    public SafetyExaminationStudentWrongRecord selectSafetyExaminationStudentWrongRecordById(Long id);

    /**
     * 查询学生错题记录列表
     * 
     * @param safetyExaminationStudentWrongRecord 学生错题记录
     * @return 学生错题记录集合
     */
    public List<SafetyExaminationStudentWrongRecord> selectSafetyExaminationStudentWrongRecordList(SafetyExaminationStudentWrongRecord safetyExaminationStudentWrongRecord);

    /**
     * 新增学生错题记录
     * 
     * @param safetyExaminationStudentWrongRecord 学生错题记录
     * @return 结果
     */
    public int insertSafetyExaminationStudentWrongRecord(SafetyExaminationStudentWrongRecord safetyExaminationStudentWrongRecord);

    /**
     * 修改学生错题记录
     * 
     * @param safetyExaminationStudentWrongRecord 学生错题记录
     * @return 结果
     */
    public int updateSafetyExaminationStudentWrongRecord(SafetyExaminationStudentWrongRecord safetyExaminationStudentWrongRecord);

    /**
     * 删除学生错题记录
     * 
     * @param id 学生错题记录ID
     * @return 结果
     */
    public int deleteSafetyExaminationStudentWrongRecordById(Long id);

    /**
     * 批量删除学生错题记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSafetyExaminationStudentWrongRecordByIds(Long[] ids);
}
